package com.ponhu.ea2.query;

import com.ponhu.ea2.common.basic.model.BaseCriteria;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel("货品列表查询入参模型")
public class InventoryInfoQuery extends BaseCriteria implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "货品编码")
    private String inventoryCode;

    @ApiModelProperty(value = "物料编码")
    private String materialCode;

    @ApiModelProperty(value = "货品名称")
    private String inventoryName;

    @ApiModelProperty(value = "货品类型：0-全部，1-主品，2-附件，3-配件，4-赠品")
    private Integer inventoryType;

    @ApiModelProperty(value = "品牌ID")
    private Long brandId;

    @ApiModelProperty(value = "系列ID")
    private Long seriesId;

    @ApiModelProperty(value = "系列名称")
    private String seriesName;

    @ApiModelProperty(value = "型号ID")
    private Long modelId;

    @ApiModelProperty(value = "型号名称")
    private String modelName;

    @ApiModelProperty(value = "一级分类ID")
    private Long level1CategoryId;

    @ApiModelProperty(value = "二级分类ID")
    private Long level2CategoryId;

    @ApiModelProperty(value = "三级分类ID")
    private Long level3CategoryId;

    @ApiModelProperty(value = "是否二奢：0-全部，1-是，2-否")
    private Integer isSecondhand;

    @ApiModelProperty(value = "是否是云商：0-全部，1-是，2-否")
    private Integer isCloud;

    @ApiModelProperty(value = "来源渠道(货品渠道)：0-全部，1-云商，2-B端采购，2-C端采购")
    private Integer inventoryChannel;

    @ApiModelProperty(value = "成色：0-全部，1-99新，2-98新，3-95新，4-9新，5-85新，6-8新")
    private Integer quality;

    @ApiModelProperty(value = "中检状态：0-全部，1未中检，2中检已通过，3中检未通过")
    private Integer isDoneCcic;

    @ApiModelProperty(value = "货品创建时间：开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "货品创建时间：结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "货品编辑时间：开始时间")
    private LocalDateTime editStartTime;

    @ApiModelProperty(value = "货品编辑时间：结束时间")
    private LocalDateTime editEndTime;

    @ApiModelProperty(value = "编辑人员id")
    private List editIds;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "检测结果")
    private String maintainResult;
}
